@charset 'utf-8';
/*reset unit . support the IE9/Firefox/Chrome.*/
html{
    font-family: "Helvetica Neue",Helvetica,"Segoe UI",Arial,freesans,sans-serif;
    font-size:14px;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    /*后两个样式是为了修复移动端横屏显示时字体大小改变*/
}
html *, html *:before, html *:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
html,body{
    width:100%;
    min-height: 100%;
}
/*tip. background color 包括width and height and padding.*/
body, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, menu, nav, section {
    margin: 0;
    padding: 0;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block;
}
audio, canvas, progress, video {
    display: inline-block;
    vertical-align: baseline;
}
audio:not([controls]) {
    display: none;
    height: 0;
}
/* 1.去除android a/button/input标签被点击时产生的边框
2.去除ios a标签被点击时产生的半透明灰色背景 */
a,button,input{
    -webkit-tap-highlight-color:rgba(255,0,0,0);
}
button,input,textarea,a:active,a:hover,a:visited,a:focus {
    outline: none;
}
a,a:hover {
    color:inherit;
    text-decoration: none;
}
/*为了解决各浏览器a标签点击之后会产生的虚线框*/
a:active {star:expression(this.onFocus=this.blur());}
ul,ol {
    list-style: none;
}
abbr[title] {
    border-bottom: 1px dotted;
}
b,strong {
    font-weight: 600;
}
small {
    font-size: 80%;
}
sub,sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sup {
    top: -0.5em;
}
sub {
    bottom: -0.25em;
}
figure {
    margin: 1em 40px;
}
hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}
pre {
    overflow: auto;
}
button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}
button {
    overflow: visible;
}
button,select {
    text-transform: none;
}
button,html input[type="button"],input[type="reset"],input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}
button[disabled],html input[disabled] {
    cursor: default;
}
button::-moz-focus-inner,input::-moz-focus-inner {
    border: 0;
    padding: 0;
}
input {
    line-height: normal;
}
/*Chrome 中表单自动填充时 input 背景色默认为淡黄色 曲线修改*/
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}
input[type="checkbox"],input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}
input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}
fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}
legend {
    border: 0;
    padding: 0;
}
optgroup {
    font-weight: bold;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
td,th {
    padding: 0;
}
/*normal unit.*/
textarea{
    line-height: 1.6;
    letter-spacing:1px;
}
/*function unit.*/
.clearfix:before, .clearfix:after {
    content: "";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1; /*IE/7/6*/
}
.hide{
    display: none!important;
}
.left{
    float: left!important;
}
.right{
    float: right!important;
}
